package com.zrf.pojo;

import java.sql.Timestamp;

/**
 * Manifest entity. @author MyEclipse Persistence Tools
 */

public class Manifest implements java.io.Serializable {

	// Fields

	private Integer mid;
	private Storage storage;
	private Product product;
	private User user;
	private Integer num;
	private Double price;
	private Integer mtype;
	private Timestamp mtime;

	// Constructors

	/** default constructor */
	public Manifest() {
	}

	/** full constructor */
	public Manifest(Storage storage, Product product, User user, Integer num,
			Double price, Integer mtype, Timestamp mtime) {
		this.storage = storage;
		this.product = product;
		this.user = user;
		this.num = num;
		this.price = price;
		this.mtype = mtype;
		this.mtime = mtime;
	}

	// Property accessors

	public Manifest(User user2, Storage toStorage, Product products,
			Integer pnum, Double pprice, int i, Timestamp time) {
		// TODO Auto-generated constructor stub
	}

	public Manifest(User user2, Product product2, int pnum, Double pprice,
			int i, Timestamp time, String address) {
		// TODO Auto-generated constructor stub
	}

	public Integer getMid() {
		return this.mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public Storage getStorage() {
		return this.storage;
	}

	public void setStorage(Storage storage) {
		this.storage = storage;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getMtype() {
		return this.mtype;
	}

	public void setMtype(Integer mtype) {
		this.mtype = mtype;
	}

	public Timestamp getMtime() {
		return this.mtime;
	}

	public void setMtime(Timestamp mtime) {
		this.mtime = mtime;
	}

}